package com.one.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created on 2022-01-04.
 * <p>
 * Author: zhukang
 * <p>
 * Description: 微信支付配置类
 */
@Data
@Component
@ConfigurationProperties(prefix = "wechat.pay")
public class WechatPayConfig {

    /**
     * 应用id
     */
    private String appId;

    /**
     * 商户id
     */
    private String mchId;

    /**
     * 商户key
     */
    private String mchKey;

    /**
     * 统一下单接口地址
     */
    private String orderUrl;

    /**
     * 统一回调接口地址
     */
    private String notifyUrl;
}
